package com.tanhua.dubbo.api;

import java.util.List;

public interface UserLikeApi {

    //保存或者更新
    Boolean saveOrUpdate(Long userId, Long likeUserId, boolean isLike);

    List meLike(Long userId, Integer page, Integer pagesize, Integer type, String nickname);

    List<Long> relativeLike(Long userId, Integer page, Integer pagesize, Integer type, String nickname);

    List<Long> likeMeList(Long userId, Integer page, Integer pagesize, Integer type, String nickname);

    List userLike2(Long id, Long userId);

    List<Long> visitors(Long userId, Integer page, Integer pagesize);

    void addLike(Long userId, Long likeUserId);

    boolean ifLike(Long userId, Long likeUserId);

    void deleLike(Long userId, Long likeUserId);

    void delefriend(Long userId, Long likeUserId);
}
